﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="dialog_agent_audit.aspx.cs" Inherits="YY.Web.dialog.dialog_agent_audit" %>

<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <title>审核状态</title>
    <link href="../skin/default/style.css" rel="stylesheet" type="text/css" />
    <script type="text/javascript" charset="utf-8" src="/jQuery/jquery-1.11.2.min.js"></script>
    <script type="text/javascript" charset="utf-8" src="/jQuery/PlugIns/webuploader/webuploader.min.js"></script>
    <script type="text/javascript" charset="utf-8" src="/js/uploader.js"></script>
    <script type="text/javascript" charset="utf-8" src="/js/common.js"></script>
    <script type="text/javascript">
        var api = top.dialog.get(window); //获取父窗体对象
        function ShowAudit(obj) {
            switch (obj) {
            case -1:
                //设置按钮及事件
                api.button([
                    {
                        value: '去缴纳保证金',
                        callback: function() {
                            parent.jsprint("跳转至代理商基本信息界面", "../MyAgent/AgentInfo.aspx");
                        },
                        autofocus: true
                    }, {
                        value: '取消',
                        callback: function() { return true; }
                    }
                ]);
                $("#span_message").text("您尚未提交，缴纳保证金提交审核通过后才可以成为代理！");
                break;
            case 0:
                //设置按钮及事件
                api.button([
                    {
                        value: '取消',
                        callback: function() { return true; },
                        autofocus: true
                    }
                ]);
                $("#span_message").text("审核需要三到五个工作日,请耐心等待哦！");
                break;

            default:
            }
        }
    </script>
</head>
<body>
    <form id="form1" runat="server">
     <div  class="tab-content">
            <span id="span_message"></span>
        </div>
    </form>
</body>
</html>
